#!/usr/bin/env python
from __future__ import print_function
from __future__ import division
from os.path import join
from OpenGL.GL import GL_NEAREST, GL_CLAMP_TO_EDGE, GL_TEXTURE_2D, GL_MODULATE, GL_LINEAR

# App settings
AreDebugging = True
AreDebugLogging = True
Caption = "The Deep"

# Rendering settings
AreCulling = False
AreDepthTesting = True
AreOutlining = True
AreLighting = False

# JIT settings
AreJITing = False
JITProfilingIntensity = 1.0 # from 0.0 to 1.0, low to high

# File Locations
DataLocation = 'data'
TexturesLocation = join(DataLocation, 'textures')
MapsLocation = join(DataLocation, 'maps')
MapsExtension = '.txt'

# Texture settings
TextureFilterStyle = GL_LINEAR # GL_NEAREST or GL_LINEAR
TextureWrapStyle = GL_CLAMP_TO_EDGE # GL_REPEAT, GL_CLAMP, GL_CLAMP_TO_EDGE, or GL_CLAMP_TO_BORDER
TextureType = GL_TEXTURE_2D # GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP
TextureWidth = 3000
TextureHeight = 2000
TextureDepth = 0
TextureBorder = 0
TextureEnvMode = GL_MODULATE # TODO: Look up the possible types.